using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class LoginController : MonoBehaviour
{
    public GameObject panel;
    public InputField inputFieldText;
    public  GameObject manager;

    
    public void onclick()
    {
        manager.GetComponent<Manager>().name=inputFieldText.text;
        panel.SetActive(false);
    }
}
